Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pamela / default.nix
blob389cf10a772e042c28d88690f0bfa94bd093e8d8
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pkgs
5 }:
7 buildPythonPackage rec {
8   pname = "pamela";
9   version = "1.1.0";
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "sha256-1LE5/mAOGS4Xaio2gFkgemv/oOeHmHmxP0/LoBY0gb4=";
15   };
17   postUnpack = ''
18     substituteInPlace $sourceRoot/pamela.py --replace \
19       'find_library("pam")' \
20       '"${lib.getLib pkgs.pam}/lib/libpam.so"'
21   '';
23   doCheck = false;
25   meta = with lib; {
26     description = "PAM interface using ctypes";
27     homepage = "https://github.com/minrk/pamela";
28     license = licenses.mit;
29   };