diff options
| author | quapka | 2024-08-06 13:52:02 +0200 |
|---|---|---|
| committer | quapka | 2024-08-06 13:52:02 +0200 |
| commit | a5dd212e4c1f300b0769aa16b71da23e08061842 (patch) | |
| tree | 65b0485c0227375a85e0d45a5a2a2ecdc3cd840e | |
| parent | 0cbdebaa79c7519c207df1cc93a85ccf5957a02f (diff) | |
| download | ECTester-a5dd212e4c1f300b0769aa16b71da23e08061842.tar.gz ECTester-a5dd212e4c1f300b0769aa16b71da23e08061842.tar.zst ECTester-a5dd212e4c1f300b0769aa16b71da23e08061842.zip | |
Build script for fetching releases with Nix
| -rw-r--r-- | flake.nix | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -280,6 +280,26 @@ cryptopp = pkgs.callPackage ./nix/cryptopp_pkg_versions.nix { inherit buildECTesterStandalone; }; openssl = pkgs.callPackage ./nix/openssl_pkg_versions.nix { inherit buildECTesterStandalone; }; boringssl = pkgs.callPackage ./nix/boringssl_pkg_versions.nix { inherit buildECTesterStandalone; }; + + fetchReleases = with pkgs.python3Packages; buildPythonApplication { + pname = "fetchReleases"; + version = "0.1.0"; + format = "other"; + + propagatedBuildInputs = [ + jinja2 + requests + beautifulsoup4 + ]; + + src = ./fetchReleases.py; + dontUnpack = true; + installPhase = '' + install -Dm755 $src $out/bin/$pname + ''; + + }; + }; devShells.default = with pkgs; mkShell rec { nativeBuildInputs = [ |
