cleaned up flake file

This commit is contained in:
benton 2021-08-06 13:51:30 -05:00
parent 7f682b82d5
commit adca02ef27

View file

@ -1,6 +1,5 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
libgourou-utils.url = "github:BentonEdmondson/libgourou-utils";
@ -19,11 +18,14 @@
pname = "knock";
version = "0.1.0-alpha";
src = self;
nativeBuildInputs = [ nixpkgs.makeWrapper ];
buildInputs = [
(nixpkgs.python3.withPackages(python3Packages: [ python3Packages.python_magic ]))
libgourou-utils inept-epub
];
installPhase = ''
mkdir -p $out/bin
chmod +x knock
@ -43,6 +45,5 @@
platforms = [ "x86_64-linux" ];
};
};
};
}