mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #35133 from dotlambda/pymacaroons-pynacl
pythonPackages.pymacaroons-pynacl: move expression
This commit is contained in:
commit
68d08a0574
@ -0,0 +1,24 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pynacl, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymacaroons-pynacl";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "pymacaroons";
|
||||
rev = "v${version}";
|
||||
sha256 = "0bykjk01zdndp6gjr30x46blsn0cvxa7j0zh5g8raxwaawchjhii";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pynacl six ];
|
||||
|
||||
# Tests require an old version of hypothesis
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Macaroon library for Python";
|
||||
homepage = https://github.com/matrix-org/pymacaroons;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -19946,18 +19946,7 @@ EOF
|
||||
propagatedBuildInputs = with self; [];
|
||||
};
|
||||
|
||||
pymacaroons-pynacl = buildPythonPackage rec {
|
||||
name = "pymacaroons-pynacl-${version}";
|
||||
version = "0.9.3";
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = "https://github.com/matrix-org/pymacaroons.git";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0bykjk01zdndp6gjr30x46blsn0cvxa7j0zh5g8raxwaawchjhii";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ pynacl six ];
|
||||
};
|
||||
pymacaroons-pynacl = callPackage ../development/python-modules/pymacaroons-pynacl { };
|
||||
|
||||
pynacl = callPackage ../development/python-modules/pynacl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user