2021-05-25 16:54:47 +01:00
|
|
|
{ mkDerivation, base, containers, fetchgit, hedgehog, lib
|
|
|
|
, optparse-applicative, parsec, template-haskell, text
|
2020-08-07 21:08:37 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "dconf2nix";
|
2021-05-25 16:54:47 +01:00
|
|
|
version = "0.0.8";
|
2020-08-07 21:08:37 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/gvolpe/dconf2nix.git";
|
2021-05-25 16:54:47 +01:00
|
|
|
sha256 = "19jk3p0ys3lbqk21lm37a7alkg2vhnmkvcffjqfxrw8p4737hxid";
|
|
|
|
rev = "6bf3d7d4ca9f553a9e1ba4a70a65640114d230b2";
|
2020-08-07 21:08:37 +01:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
base containers optparse-applicative parsec text
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [ base ];
|
2020-09-21 09:58:35 +01:00
|
|
|
testHaskellDepends = [
|
|
|
|
base containers hedgehog parsec template-haskell text
|
|
|
|
];
|
2020-08-07 21:08:37 +01:00
|
|
|
description = "Convert dconf files to Nix, as expected by Home Manager";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.asl20;
|
2020-08-07 21:08:37 +01:00
|
|
|
}
|