Add phanpy
This commit is contained in:
parent
48aabd7fe9
commit
c003bac9b6
|
@ -11,4 +11,5 @@ pkgs: {
|
||||||
update = pkgs.callPackage ./update {};
|
update = pkgs.callPackage ./update {};
|
||||||
upgrade = pkgs.callPackage ./upgrade {};
|
upgrade = pkgs.callPackage ./upgrade {};
|
||||||
restart = pkgs.callPackage ./restart {};
|
restart = pkgs.callPackage ./restart {};
|
||||||
|
phanpy = pkgs.callPackage ./phanpy {};
|
||||||
}
|
}
|
||||||
|
|
30
pkgs/phanpy/default.nix
Normal file
30
pkgs/phanpy/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildNpmPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
buildNpmPackage rec {
|
||||||
|
pname = "phanpy";
|
||||||
|
version = "2024.04.04.65d51b0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cheeaun";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-BR+ZGkBBfd0dSQqAvujsbgsEPFYw/ThrylxUbOksYxM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDepsHash = "sha256-tuEfyePwlOy2/mOPdXbqJskO6IowvAP4DWg8xSZwbJw=";
|
||||||
|
|
||||||
|
# The prepack script runs the build script, which we'd rather do in the build phase.
|
||||||
|
npmPackFlags = ["--ignore-scripts"];
|
||||||
|
|
||||||
|
NODE_OPTIONS = "--openssl-legacy-provider";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Minimalistic opinionated Mastodon web client.";
|
||||||
|
homepage = "https://phanpy.social/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [Lillian-Violet];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue