diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-01 00:00:57 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-01 00:00:57 +0100 |
commit | 3a884736fc21b9a7b3865ad4735eaf39dc853da6 (patch) | |
tree | 6d7547a577e44aafcea187d4e5e4ba127c470e60 | |
parent | ad396ed96b5eb93bca1b42540112ab557fbf7f25 (diff) | |
download | pnpkgs-3a884736fc21b9a7b3865ad4735eaf39dc853da6.tar.gz pnpkgs-3a884736fc21b9a7b3865ad4735eaf39dc853da6.zip |
Add gemget
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/gemget/default.nix | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/default.nix b/default.nix index d3e671d..67fb506 100644 --- a/default.nix +++ b/default.nix @@ -22,6 +22,7 @@ wywozik-todo = pkgs.callPackage ./pkgs/wywozik-todo { }; agate = pkgs.callPackage ./pkgs/agate { }; hyperion-rpi3 = pkgs.callPackage ./pkgs/hyperion-rpi3 { }; + gemget = pkgs.callPackage ./pkgs/gemget { }; st = pkgs.callPackage ./pkgs/larbs/st { }; dwm = pkgs.callPackage ./pkgs/larbs/dwm { }; diff --git a/pkgs/gemget/default.nix b/pkgs/gemget/default.nix new file mode 100644 index 0000000..750e319 --- /dev/null +++ b/pkgs/gemget/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, buildGoModule }: +with stdenv.lib; +let + pname = "gemget"; + version = "1.6.0"; +in +buildGoModule { + inherit pname version; + + src = fetchFromGitHub { + owner = "makeworld-the-better-one"; + repo = pname; + rev = "v${version}"; + sha256 = "1rwn7l56xv8pax40951wr4lkxqb9gg95xfa65h1imhncfch80anh"; + }; + + nativeBuildInputs = [ stdenv ]; + + vendorSha256 = "01xqslbifx2pkw82vxfnkd57gnn2957gxniqw0dy3338wcym0p07"; + + buildPhase = '' + make + ''; + + installPhase = '' + mkdir -p $out/bin + cp gemget $out/bin/gemget + ''; + + +} |