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-09-21 09:58:35 +01:00
|
|
|
version = "0.0.6";
|
2020-08-07 21:08:37 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/gvolpe/dconf2nix.git";
|
2020-09-21 09:58:35 +01:00
|
|
|
sha256 = "0ql3xrr05kg1xrfxq86mhzh5ky33sngx57sahzck3rb8fv2g6amv";
|
|
|
|
rev = "cf976e033c1a89f897924baa219c3b227fe68489";
|
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;
|
|
|
|
}
|