mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
pythonPackages.upass: refactor move to python-modules
This commit is contained in:
parent
8090784c0c
commit
5f58cd99d5
27
pkgs/development/python-modules/upass/default.nix
Normal file
27
pkgs/development/python-modules/upass/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, pyperclip
|
||||
, urwid
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.4";
|
||||
pname = "upass";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Kwpolska/upass/archive/v${version}.tar.gz";
|
||||
sha256 = "0f2lyi7xhvb60pvzx82dpc13ksdj5k92ww09czclkdz8k0dxa7hb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyperclip urwid ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Console UI for pass";
|
||||
homepage = https://github.com/Kwpolska/upass;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
@ -4057,28 +4057,7 @@ in {
|
||||
|
||||
linecache2 = callPackage ../development/python-modules/linecache2 { };
|
||||
|
||||
upass = buildPythonPackage rec {
|
||||
version = "0.1.4";
|
||||
name = "upass-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/Kwpolska/upass/archive/v${version}.tar.gz";
|
||||
sha256 = "0f2lyi7xhvb60pvzx82dpc13ksdj5k92ww09czclkdz8k0dxa7hb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pyperclip
|
||||
urwid
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Console UI for pass";
|
||||
homepage = https://github.com/Kwpolska/upass;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
};
|
||||
upass = callPackage ../development/python-modules/upass { };
|
||||
|
||||
update_checker = callPackage ../development/python-modules/update_checker {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user