depot/third_party/nixpkgs/pkgs/development/tools/haskell/dconf2nix/dconf2nix.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
812 B
Nix

{ mkDerivation, base, containers, emojis, fetchgit, hedgehog, lib
, optparse-applicative, parsec, template-haskell, text
}:
mkDerivation {
pname = "dconf2nix";
version = "0.1.1";
src = fetchgit {
url = "https://github.com/gvolpe/dconf2nix.git";
sha256 = "0frqnq7ryr4gvkbb67n0615d9h1blps2kp55ic05n7wxyh26adgz";
rev = "2fc3b0dfbbce9f1ea2ee89f3689a7cb95b33b63f";
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers emojis optparse-applicative parsec text
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base containers hedgehog parsec template-haskell text
];
description = "Convert dconf files to Nix, as expected by Home Manager";
license = lib.licenses.asl20;
mainProgram = "dconf2nix";
}