about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets/nix-mode/pythonPackage
# key: pypkg
# name: pythonPackage
# condition: t
# --
${1:pname} = buildPythonPackage rec {
           name = "\${pname}-\${version}";
           pname = "$1";
           version = "${2:1.0.0}";
           src = fetchPypi {
               inherit pname version;
               sha256 = "0000000000000000000000000000000000000000000000000000";
           };
           propagatedBuildInputs = with pythonSelf; [
               $3
           ];
};