Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 30 lines 591 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 libxcb, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "wmutils-opt"; 10 version = "1.0"; 11 12 src = fetchFromGitHub { 13 owner = "wmutils"; 14 repo = "opt"; 15 rev = "v${version}"; 16 sha256 = "0gd05qsir1lnzfrbnfh08qwsryz7arwj20f886nqh41m87yqaljz"; 17 }; 18 19 buildInputs = [ libxcb ]; 20 21 installFlags = [ "PREFIX=$(out)" ]; 22 23 meta = with lib; { 24 description = "Optional addons to wmutils"; 25 homepage = "https://github.com/wmutils/opt"; 26 license = licenses.isc; 27 maintainers = with maintainers; [ vifino ]; 28 platforms = platforms.unix; 29 }; 30}