global pkgs
This commit is contained in:
1
custom-pkgs/fb-client/default.nix
Normal file
1
custom-pkgs/fb-client/default.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ util, ... }: util.package
|
||||
22
custom-pkgs/fb-client/package.nix
Normal file
22
custom-pkgs/fb-client/package.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, stdenv, fetchurl, python3, ... }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fb-client";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://paste.xinu.at/data/client/fb-${version}.tar.gz";
|
||||
sha256 = "sha256-EWTsoG7qy0IQ1GLEuvHEAEJyphl9hz1hFm53k1OdGYM=";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ (python3.withPackages (pyPkgs: with pyPkgs; [ pycurl pyxdg ])) ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
mainProgram = "fb";
|
||||
description = "Client for paste.xinu.at";
|
||||
homepage = "https://paste.xinu.at";
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user