2020-09-25 04:45:31 +00:00
|
|
|
{ mkDerivation, base, containers, fetchgit, hedgehog
|
|
|
|
, optparse-applicative, parsec, stdenv, template-haskell, text
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "dconf2nix";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "0.0.7";
|
2020-08-20 17:08:02 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/gvolpe/dconf2nix.git";
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "04p8di1ckv5fkfa61pjg5xp8vcw091lz1kw39lh4w8ks2zjwaha1";
|
|
|
|
rev = "34c523e920b79208c3b4c0ad371900b0948799f7";
|
2020-08-20 17:08:02 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
base containers optparse-applicative parsec text
|
|
|
|
];
|
|
|
|
executableHaskellDepends = [ base ];
|
2020-09-25 04:45:31 +00:00
|
|
|
testHaskellDepends = [
|
|
|
|
base containers hedgehog parsec template-haskell text
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "Convert dconf files to Nix, as expected by Home Manager";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|