Many updates, too many to count

commit messages are for code, not config

I guess
This commit is contained in:
Griffin Smith 2020-03-26 15:03:25 -04:00
parent 23b179ad1d
commit 35c76e7098
24 changed files with 1533 additions and 427 deletions

View file

@ -0,0 +1,12 @@
# -*- mode: snippet -*-
# name: fetchFromGitHub
# uuid:
# key: fetchFromGitHub
# condition: t
# --
fetchFromGitHub {
owner = "$1";
repo = "$2";
rev = "$3";
sha256 = "0000000000000000000000000000000000000000000000000000";
}

View 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
];
};

7
snippets/nix-mode/sha256 Normal file
View file

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: sha256
# uuid:
# key: sha256
# condition: t
# --
sha256 = "0000000000000000000000000000000000000000000000000000";