Add 'users/glittershark/emacs.d/' from commit '69ee53bffa
'
git-subtree-dir: users/glittershark/emacs.d git-subtree-mainline:2edb963b97
git-subtree-split:69ee53bffa
This commit is contained in:
commit
4fe4e3d9a2
74 changed files with 5656 additions and 0 deletions
16
users/glittershark/emacs.d/snippets/nix-mode/pythonPackage
Normal file
16
users/glittershark/emacs.d/snippets/nix-mode/pythonPackage
Normal file
|
@ -0,0 +1,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
|
||||
];
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue