Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 haskellPackages, 6}: 7 8haskellPackages.mkDerivation { 9 pname = "dclock"; 10 version = "0.1.0"; 11 12 src = fetchFromGitHub { 13 owner = "travgm"; 14 repo = "dclock"; 15 rev = "main"; 16 sha256 = "sha256-IJsbEg1dFiyIJSlVWy8x+tsa49YxLK8mNkJESFyUQoU="; 17 }; 18 19 isLibrary = false; 20 isExecutable = true; 21 jailbreak = true; 22 doCheck = false; 23 24 executableHaskellDepends = with haskellPackages; [ 25 base 26 QuickCheck 27 ansi-terminal 28 hspec 29 hspec-discover 30 lens 31 machines 32 optparse-applicative 33 text 34 time 35 process 36 ]; 37 38 description = "Decimal clock that breaks your day into a 1000 decimal minutes"; 39 homepage = "https://github.com/travgm/dclock"; 40 license = lib.licenses.mit; 41 maintainers = with lib.maintainers; [ travgm ]; 42 mainProgram = "dclock"; 43}