2020-09-21 09:58:35 +01:00
|
|
|
{ mkDerivation, base, containers, fetchgit, hedgehog
|
|
|
|
, optparse-applicative, parsec, stdenv, template-haskell, text
|
2020-08-07 21:08:37 +01:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "dconf2nix";
|
2020-12-03 18:39:49 +00:00
|
|
|
version = "0.0.7";
|
2020-08-07 21:08:37 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/gvolpe/dconf2nix.git";
|
2020-12-03 18:39:49 +00:00
|
|
|
sha256 = "04p8di1ckv5fkfa61pjg5xp8vcw091lz1kw39lh4w8ks2zjwaha1";
|
|
|
|
rev = "34c523e920b79208c3b4c0ad371900b0948799f7";
|
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";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|