Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "chruby-fish"; 9 version = "1.0.0"; 10 11 src = fetchFromGitHub { 12 owner = "JeanMertz"; 13 repo = "chruby-fish"; 14 tag = "v${finalAttrs.version}"; 15 hash = "sha256-Lk6XvmKgEjXVjO3jMjJkCxoX7TGMxq3ib0Ohh/J4IPI="; 16 }; 17 18 installFlags = [ "PREFIX=$(out)" ]; 19 20 meta = { 21 description = "Thin wrapper around chruby to make it work with the Fish shell"; 22 homepage = "https://github.com/JeanMertz/chruby-fish"; 23 license = lib.licenses.mit; 24 platforms = lib.platforms.all; 25 maintainers = [ lib.maintainers.cohei ]; 26 }; 27})