summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/haskell/nix-diff/default.nix
blob: df0315048c1affa3aaac2e353618a026ee3a5168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ mkDerivation, attoparsec, base, containers, Diff, fetchgit, mtl
, nix-derivation, optparse-generic, stdenv, system-filepath, text
, unix, vector
}:
mkDerivation {
  pname = "nix-diff";
  version = "1.0.0-krebs1";
  src = fetchgit {
    url = "https://github.com/Gabriel439/nix-diff";
    sha256 = "1k00nx8pannqmpzadkwfrs6bf79yk22ynhd033z5rsyw0m8fcz9k";
    rev = "e32ffa2c7f38b47a71325a042c1d887fb46cdf7d";
  };
  patches = [
    ./nixos-system.patch
  ];
  isLibrary = false;
  isExecutable = true;
  executableHaskellDepends = [
    attoparsec base containers Diff mtl nix-derivation optparse-generic
    system-filepath text unix vector
  ];
  homepage = "https://github.com/Gabriel439/nix-diff";
  description = "Explain why two Nix derivations differ";
  license = stdenv.lib.licenses.bsd3;
}