mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.upass: switch to fetchFromGitHub
This commit is contained in:
parent
f0843b3c64
commit
29c09dcfa5
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, pyperclip
|
||||
, urwid
|
||||
}:
|
||||
|
@ -9,9 +9,11 @@ buildPythonPackage rec {
|
|||
version = "0.1.4";
|
||||
pname = "upass";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Kwpolska/upass/archive/v${version}.tar.gz";
|
||||
sha256 = "0f2lyi7xhvb60pvzx82dpc13ksdj5k92ww09czclkdz8k0dxa7hb";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kwpolska";
|
||||
repo = "upass";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-1y/OE8Gbc8bShEiLWg8w4J6icAcoldYQLI10WSQuO1Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyperclip urwid ];
|
||||
|
|
Loading…
Reference in a new issue