mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Merge pull request #46955 from timbertson/nix-pin
nix-pin: 0.3.4 -> 0.4.0
This commit is contained in:
commit
62aadba1fd
@ -1,12 +1,12 @@
|
||||
{ lib, pkgs, stdenv, fetchFromGitHub, mypy, python3, nix, git, makeWrapper }:
|
||||
let self = stdenv.mkDerivation rec {
|
||||
name = "nix-pin-${version}";
|
||||
version = "0.3.4";
|
||||
version = "0.4.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "timbertson";
|
||||
repo = "nix-pin";
|
||||
rev = "version-0.3.4";
|
||||
sha256 = "03wdxai3hpv2v9jp7r91x8y36ryz6v1cczmx3d26g1bf0ij5svb8";
|
||||
rev = "version-${version}";
|
||||
sha256 = "1pccvc0iqapms7kidrh09g5fdx44x622r5l9k7bkmssp3v4c68vy";
|
||||
};
|
||||
buildInputs = [ python3 mypy makeWrapper ];
|
||||
checkPhase = ''
|
||||
@ -36,6 +36,7 @@ let self = stdenv.mkDerivation rec {
|
||||
--set repo nix-pin \
|
||||
--set type fetchFromGitHub \
|
||||
--set rev 'version-{version}' \
|
||||
--substitute rev 'version-''${{version}}' \
|
||||
--modify-nix default.nix
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user