diff --git a/flake.nix b/flake.nix index fac0e5b..5286854 100644 --- a/flake.nix +++ b/flake.nix @@ -68,6 +68,7 @@ apotris = final.callPackage ./packages/apotris { }; attic = final.callPackage ./packages/attic { }; attic-client = final.attic.override { clientOnly = true; }; + bladeenc = final.callPackage ./packages/bladeenc { }; cups-dymo-patched = final.callPackage ./packages/cups-dymo { }; cynthion = final.callPackage ./packages/cynthion { }; gbeplus = final.callPackage ./packages/gbeplus { }; diff --git a/packages/bladeenc/default.nix b/packages/bladeenc/default.nix new file mode 100644 index 0000000..8eaa977 --- /dev/null +++ b/packages/bladeenc/default.nix @@ -0,0 +1,25 @@ +{ + stdenv, + lib, + fetchurl, +}: + +stdenv.mkDerivation { + pname = "bladeenc"; + version = "0.94.2"; + + src = fetchurl { + # they named it tar.gz but it's just a tar. + name = "bladeenc-0.94.2-src.stable.tar"; + url = "https://web.archive.org/web/20090320190543/http://bladeenc.mp3.no/source/bladeenc-0.94.2-src-stable.tar.gz"; + hash = "sha256-lZPQPoPKJF8+eDVaC7GSpz3IH7X8qWnIu1q14WwTLTM="; + }; + + # this is well-written software + NIX_CFLAGS_COMPILE = "-Wno-error=format-security"; + + meta = { + license = lib.licenses.lgpl21Only; + maintainers = with lib.maintainers; [ artemist ]; + }; +}