Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
599 B · 31 lines
Nix
1234567891011121314151617181920212223242526272829303132{ lib, buildPythonPackage, fetchPypi, pkgs,}:
buildPythonPackage rec { pname = "pamela"; version = "1.2.0"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-DqbiqZ3e2Md4OkoG8tMfW9ytiU15EB6PCTIuOHo0qs8="; };
postUnpack = '' substituteInPlace $sourceRoot/pamela.py --replace \ 'find_library("pam")' \ '"${lib.getLib pkgs.pam}/lib/libpam.so"' '';
doCheck = false;
meta = with lib; { description = "PAM interface using ctypes"; homepage = "https://github.com/minrk/pamela"; license = licenses.mit; };}