about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets/nix-mode/pythonPackage
blob: 0a74c21e1857164ad3e761b41fd7c555b02957e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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
           ];
};