mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-04 13:56:19 +02:00
hashcash-milter: fix build
This commit is contained in:
parent
7337a98d7e
commit
3419767917
2 changed files with 7 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
||||||
}@attrs: {
|
}@attrs: {
|
||||||
packages.x86_64-linux = {
|
packages.x86_64-linux = {
|
||||||
iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
||||||
thinkpad = self.nixosConfigurations.thinkpad.config.system.build.toplevel;
|
# thinkpad = self.nixosConfigurations.thinkpad.config.system.build.toplevel;
|
||||||
jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
||||||
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
||||||
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
|
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, lib }:
|
{ stdenv, fetchFromGitHub, lib, libmilter, db }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hashcash-milter";
|
pname = "hashcash-milter";
|
||||||
version = "0.1.3";
|
version = "0.1.3";
|
||||||
|
@ -8,6 +8,11 @@ stdenv.mkDerivation rec {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-yVpfvwpZUZQppZpmXmAqjoZH5shWUnA8aMVSOkPyQXw=";
|
hash = "sha256-yVpfvwpZUZQppZpmXmAqjoZH5shWUnA8aMVSOkPyQXw=";
|
||||||
};
|
};
|
||||||
|
buildInputs = [ libmilter db ];
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -m 755 -p -s hashcash-milter $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Hashcash Milter";
|
description = "Hashcash Milter";
|
||||||
|
|
Loading…
Add table
Reference in a new issue