Skip to content

Commit

Permalink
override diagrams-core
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-martin committed Oct 28, 2020
1 parent a4111e7 commit b5764df
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions nix/haskell/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ self: super: {

active = self.callPackage (import ./overrides/active.nix) {};
aeson-optics = self.callPackage (import ./overrides/aeson-optics.nix) {};
diagrams-core = self.callPackage (import ./overrides/diagrams-core.nix) {};
dsv = self.callPackage (import ./overrides/dsv.nix) {};
dual-tree = self.callPackage (import ./overrides/dual-tree.nix) {};
grab = self.callPackage (import ./overrides/grab.nix) {};
Expand Down
21 changes: 21 additions & 0 deletions nix/haskell/overrides/diagrams-core.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ mkDerivation, adjunctions, base, containers, distributive
, dual-tree, fetchgit, lens, linear, monoid-extras, mtl
, profunctors, semigroups, stdenv, unordered-containers
}:
mkDerivation {
pname = "diagrams-core";
version = "1.4.2";
src = fetchgit {
url = "https://github.com/chris-martin/diagrams-core";
sha256 = "1x335pwvw6m44w2ykxdjq9dfck7pqyi1271qrwpfvq9g75j2871a";
rev = "1cb7e0a1745053c37def2f09b0e68268583dada4";
fetchSubmodules = true;
};
libraryHaskellDepends = [
adjunctions base containers distributive dual-tree lens linear
monoid-extras mtl profunctors semigroups unordered-containers
];
homepage = "http://projects.haskell.org/diagrams";
description = "Core libraries for diagrams EDSL";
license = stdenv.lib.licenses.bsd3;
}

0 comments on commit b5764df

Please sign in to comment.