nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 33 lines 811 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 flac, 6}: 7 8stdenv.mkDerivation rec { 9 version = "3.0.10+git20130108.4ca41f4-1"; 10 pname = "shntool"; 11 12 src = fetchFromGitLab { 13 domain = "salsa.debian.org"; 14 owner = "debian"; 15 repo = "shntool"; 16 rev = "debian/${version}"; 17 sha256 = "sha256-Qn4LwVx34EhypiZDIxuveNhePigkuiICn1nBukoQf5Y="; 18 }; 19 20 buildInputs = [ flac ]; 21 22 prePatch = '' 23 patches=$(grep -v '#' ./debian/patches/series | while read patch; do echo "./debian/patches/$patch"; done | tr '\n' ' ') 24 ''; 25 26 meta = { 27 description = "Multi-purpose WAVE data processing and reporting utility"; 28 homepage = "https://packages.qa.debian.org/s/shntool.html"; 29 license = lib.licenses.gpl2Plus; 30 platforms = lib.platforms.all; 31 maintainers = with lib.maintainers; [ jcumming ]; 32 }; 33}